using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Entity;

namespace Business
{
	public class BlueBillBusiness
	{
		#region Generated code
        public static List<BlueBill> GetBlueBillList()
        {
		    var result = FreshCmsDataAccessProvider.BlueBill.GetBlueBillList();
		    return result;
        }

		public static List<BlueBill> GetBlueBillListByPaging(int pageIndex, int pageSize, ref int totalRecord)
        {
		    var result = FreshCmsDataAccessProvider.BlueBill.GetBlueBillListByPaging(pageIndex, pageSize, ref totalRecord);
		    return result;
        }

        public static BlueBill GetBlueBillById(int billId)
        {
		    var result = FreshCmsDataAccessProvider.BlueBill.GetBlueBillById(billId);
            return result;
        }

        public static int InsertBlueBill(BlueBill blueBill)
        {
            var result = FreshCmsDataAccessProvider.BlueBill.InsertBlueBill(blueBill);
            return result;
        }

        public static int UpdateBlueBill(BlueBill blueBill)
        {
            var result = FreshCmsDataAccessProvider.BlueBill.UpdateBlueBill(blueBill);
            return result;
        }

        public static int DeleteBlueBill(int billId)
        {
            var result = FreshCmsDataAccessProvider.BlueBill.DeleteBlueBill(billId);
            return result;
        }
		#endregion
	}
}